package com.hejing.面向对象特征之二_继承.方法的重写;

/**
 * ClassName: OverRideTest
 * Package: com.hejing.方法的重写
 * Description:
 *
 * @Author: HeJing
 * @Create: 2023-03-25 21:08
 * @Version: 1.0
 */
public class OverRideTest {
    public static void main(String[] args) {
        Student s1 = new Student();

        s1.eat();
        s1.sleep();
    }
}



























